home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
dobat.zip
/
DOBAT.C
next >
Wrap
C/C++ Source or Header
|
1988-03-18
|
364b
|
24 lines
#include <process.h>
#include <string.h>
main(argc,argv)
int argc;
char *argv[];
{ char command[132];
int i;
if(argc<2){
printf("usage: %s batchfilename parameters\n",argv[0]);
exit(1);
}
strcpy(command,argv[1]);
if(argc>2){
for(i=2;i<argc;i++){
strcat(command," ");
strcat(command,argv[i]);
}
}
system(command);
}